package com.ysqcould.allocation.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 微信榜单对象 t_wx_list
 * 
 * @author ruoyi
 * @date 2022-08-01
 */
public class WxList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 微信榜单主键 */
    private Long id;

    /** 公众号名称 */
    @Excel(name = "公众号")
    private String publicName;

    /** 文章标题 */
    @Excel(name = "文章标题（单击各表头可排序，列表右击有菜单）")
    private String title;

    /** 阅读数 */
    @Excel(name = "阅读量")
    private String readNum;

    /** 位置 */
    @Excel(name = "位置")
    private Long place;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 是否原创 （0 是  1 否） */
    @Excel(name = "原创", readConverterExp = "0=是,1=否")
    private String isOriginal;

    /** 实时状态 */
    @Excel(name = "实时状态", readConverterExp="0=oK,1=其他")
    private Long status;

    /** 文章链接 */
    @Excel(name = "文章链接")
    private String articleUrl;

    /** 文章摘要 */
    @Excel(name = "文章摘要")
    private String articleDigest;

    /** 作者 */
    @Excel(name = "作者")
    private String writer;

    /** 在看数 */
    @Excel(name = "在看数")
    private Long watchNum;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long reviewNum;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeNum;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverUrl;

    /** $column.columnComment */
    @Excel(name = "level")
    private String level;

    /** 公众号logo */
    @Excel(name = "logo")
    private String logoUrl;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPublicName(String publicName) 
    {
        this.publicName = publicName;
    }

    public String getPublicName() 
    {
        return publicName;
    }
    public void setLogoUrl(String logoUrl) 
    {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl() 
    {
        return logoUrl;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setReadNum(String readNum)
    {
        this.readNum = readNum;
    }

    public String getReadNum()
    {
        return readNum;
    }
    public void setPlace(Long place) 
    {
        this.place = place;
    }

    public Long getPlace() 
    {
        return place;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setIsOriginal(String isOriginal)
    {
        this.isOriginal = isOriginal;
    }

    public String getIsOriginal()
    {
        return isOriginal;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setArticleUrl(String articleUrl) 
    {
        this.articleUrl = articleUrl;
    }

    public String getArticleUrl() 
    {
        return articleUrl;
    }
    public void setArticleDigest(String articleDigest) 
    {
        this.articleDigest = articleDigest;
    }

    public String getArticleDigest() 
    {
        return articleDigest;
    }
    public void setWriter(String writer) 
    {
        this.writer = writer;
    }

    public String getWriter() 
    {
        return writer;
    }
    public void setWatchNum(Long watchNum) 
    {
        this.watchNum = watchNum;
    }

    public Long getWatchNum() 
    {
        return watchNum;
    }
    public void setReviewNum(Long reviewNum) 
    {
        this.reviewNum = reviewNum;
    }

    public Long getReviewNum() 
    {
        return reviewNum;
    }
    public void setLikeNum(Long likeNum) 
    {
        this.likeNum = likeNum;
    }

    public Long getLikeNum() 
    {
        return likeNum;
    }
    public void setCoverUrl(String coverUrl) 
    {
        this.coverUrl = coverUrl;
    }

    public String getCoverUrl() 
    {
        return coverUrl;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publicName", getPublicName())
            .append("logoUrl", getLogoUrl())
            .append("title", getTitle())
            .append("readNum", getReadNum())
            .append("place", getPlace())
            .append("releaseTime", getReleaseTime())
            .append("isOriginal", getIsOriginal())
            .append("status", getStatus())
            .append("articleUrl", getArticleUrl())
            .append("articleDigest", getArticleDigest())
            .append("writer", getWriter())
            .append("watchNum", getWatchNum())
            .append("reviewNum", getReviewNum())
            .append("likeNum", getLikeNum())
            .append("coverUrl", getCoverUrl())
            .append("level", getLevel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
